//
//  DetailViewController.h
//  CWeekly
//
//  Created by Tiger on 12-4-18.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Page.h"
#import "RemarkTable.h"
#import "ListTable.h"
@interface DetailViewController : UIViewController<listTableDelegate,UIGestureRecognizerDelegate,NSXMLParserDelegate,UIScrollViewDelegate,UIWebViewDelegate> {
    UIScrollView* ascrollView;
    NSMutableArray* dataArray;
    NSMutableArray* thumbArray;
    Page* page;
    Document* doc;
    Forum*forum;
    Article* article;
    int loop;
    UIWebView*htmlView;
    UIPopoverController* pov;    
    UIView* bottomView;
    UIScrollView*contents;
    UIView* topview;
    CGFloat viewWidth;
    UIButton* showBtn;
    RemarkTable* mark;
    ListTable* list;
    CGSize keyboardSize;

    NSMutableArray *collectionList;
    NSString*mgid;
}

@property(nonatomic, retain)NSString*mgid;

- (void)setBookPage:(NSInteger)index;
- (void)addCollection;

@end
